<?php
$sessao = new Zend_Session_Namespace('Modulos');
?>
<ul class="menu-inicial"> 
    <?php 
    /* <li><a href="<?php echo $this->baseUrl(); ?>" class="icon_site">Site</a></li> */
    if(isset($sessao->modulos_menu_inicial))
        foreach($sessao->modulos_menu_inicial as $row) { ?>
        <li>
            <a class="<?php echo $row['MOD_ICONE']; ?>" href="<?php echo $this->baseUrl($this->modulo.'/'.$row['MOD_ARQUIVO']); ?>">
                <?php $img = glob('public/upload/modulos/'.$row['MOD_ID'].'.*'); ?>
                <img src="<?php echo $this->baseUrl().'/'.$img[0]; ?>" />
                <?php // echo $row['MOD_NOME']; ?>
            </a>
        </li>
    <?php } ?>
</ul>